package com.ly.airline.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @ClassName Hangban
 * @author     ：xxl
 * @date       ：Created in 2022/4/28 17:37
 * @description： TODO
 * @modified By：
 * @version:   1.0
 */
@ApiModel(value="com.ly.airline.pojo.Hangban")
@Data
@TableName(value = "t_hangban")
public class Hangban implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="null")
    private Integer id;

    @NotBlank
    @TableField(value = "riqi")
    @ApiModelProperty(value="null")
    private String riqi;

    @NotBlank
    @TableField(value = "bianhao")
    @ApiModelProperty(value="null")
    private String bianhao;

    @NotBlank
    @TableField(value = "shifadi")
    @ApiModelProperty(value="null")
    private String shifadi;

    @NotBlank
    @TableField(value = "daodadi")
    @ApiModelProperty(value="null")
    private String daodadi;

    @NotBlank
    @TableField(value = "qifeishi")
    @ApiModelProperty(value="null")
    private String qifeishi;

    @NotBlank
    @TableField(value = "shengpiao")
    @ApiModelProperty(value="null")
    private Integer shengpiao;

    @NotBlank
    @TableField(value = "chengrenpiaojia")
    @ApiModelProperty(value="null")
    private Integer chengrenpiaojia;

    @NotBlank
    @TableField(value = "ertongpiaojia")
    @ApiModelProperty(value="null")
    private Integer ertongpiaojia;

    @TableField(value = "is_delete")
    @ApiModelProperty(value="null")
    private Integer isDelete;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_RIQI = "riqi";

    public static final String COL_BIANHAO = "bianhao";

    public static final String COL_SHIFADI = "shifadi";

    public static final String COL_DAODADI = "daodadi";

    public static final String COL_QIFEISHI = "qifeishi";

    public static final String COL_SHENGPIAO = "shengpiao";

    public static final String COL_CHENGRENPIAOJIA = "chengrenpiaojia";

    public static final String COL_ERTONGPIAOJIA = "ertongpiaojia";

    public static final String COL_IS_DELETE = "is_delete";
}